JavaScript
A5.u.iconupdate Method
Syntax
A5.u.icon.update(element,icon)
Arguments
- elementelementstring
The icon element or ID or the element to update.
- iconstring
The string defining the icon to create. See A5.u.icon for details on the icon string.
Description
Update and icon.
Example
var imgIcon = A5.u.icon.element('icons/error.png'); A5.u.icon.update(imgIcon,'icons/warning.png');